# def mousechsh_test():
# 	url = MouseChshUrl()
# 	url.parse( 'https://www.mousechsh.com/p1/p2/p3/p4?x1=v1&x2=v2' )
# 	print( url.to_string() )

# 	a = 'p2/p3'
# 	b = 'v2/v3'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 'v2/v3'
# 	b = 't2/t3/t4'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 't2/t3'
# 	b = 'x2/x3/x4/x5/x6'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 'x2/x3'
# 	b = 'z2'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	url.parse( 'https://www.mousechsh.com/p1/p2/p3/p4?x1=v1&x2=v2' )
# 	print( url.to_string() )

# 	a = '/p2/p3'
# 	b = 'v2/v3'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 'p2/p3/p4'
# 	b = 'x2/x3/x4/x5/x6/x7'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 'x3/x4/x5'
# 	b = 'y3'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = 'y3'
# 	b = 'y4'
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )

# 	a = ''
# 	b = ''
# 	print( a, '->', b )
# 	url.replace_path( a, b )
# 	print( url.to_string() )
